import request from '@/utils/request'

// 查询康养市南列表
export function listAppTravelRecuperation(query) {
  return request({
    url: '/app/appTravelRecuperation/list',
    method: 'get',
    params: query
  })
}

// 查询康养市南详细
export function getAppTravelRecuperation(id) {
  return request({
    url: '/app/appTravelRecuperation/' + id,
    method: 'get'
  })
}

// 新增康养市南
export function addAppTravelRecuperation(data) {
  return request({
    url: '/app/appTravelRecuperation',
    method: 'post',
    data: data
  })
}

// 修改康养市南
export function updateAppTravelRecuperation(data) {
  return request({
    url: '/app/appTravelRecuperation',
    method: 'put',
    data: data
  })
}

// 删除康养市南
export function delAppTravelRecuperation(id) {
  return request({
    url: '/app/appTravelRecuperation/' + id,
    method: 'delete'
  })
}
